package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.StmtResultDto;
import com.huilian.iotbox.data.po.StmtResult;
import com.huilian.iotbox.data.vo.StmtResultVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/6/25 11:56
 */
@Mapper
public interface StmtResultDao {
    void insert(StmtResult stmtResult);

    StmtResult statsAmountByDate(@Param("format") String format, @Param("merchantId") String merchantId, @Param("payCompanyCode") String payCompanyCode);

    void updateStmtFail(StmtResult stmtResult);

    List<StmtResultVo> findStmtResultDto(StmtResultDto stmtResultDto);
}
